home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 49 / Amiga Format CD49 (2000-01-17)(Future Publishing)(GB)(Track 1 of 3)[!][issue 2000-02].iso / -serious- / gfxcard / chunkyppc / linkchunkyppc_protos.h < prev    next >
C/C++ Source or Header  |  1999-11-29  |  2KB  |  63 lines

  1. #ifndef CHUNKYPPC_PROTOS_H
  2. #define CHUNKYPPC_PROTOS_H
  3.  
  4. #include <exec/types.h>
  5. #include <graphics/gfx.h>
  6.  
  7. #define BIT16 1
  8. #define BIT16_SWAP 2
  9. #define BIT16_ROT 4
  10. #define BIT16_SWAP_ROT 8
  11. #define BIT24 16
  12. #define BIT24_ROT 32
  13. #define BIT32 64
  14. #define BIT32_SWAP 128
  15. #define BIT32_ROT 256
  16. #define BIT32_SWAP_ROT 512
  17. #define BIT32_ROT_REVERSE 1024
  18. #define BIT32_SWAP_ROT_REVERSE 2048
  19. #define BIT8 4096
  20.  
  21. struct Soff
  22. {
  23.  int x;
  24.  int y;
  25. };
  26.  
  27. struct Buffers
  28. {
  29.  UBYTE *address;
  30.  UBYTE *mask;
  31. };
  32.  
  33.  void ChunkyNoffFast(UBYTE *, UBYTE *, int, int, int) ;
  34.  void ChunkyNoffFastest(UBYTE *, UBYTE *, int, int, int);
  35.  void ChunkyNoffNormal(UBYTE *, UBYTE *, int, int, int);
  36.  void ChunkyFast(UBYTE *, UBYTE *, int, int, int, int, int);
  37.  void ChunkyFastest(UBYTE *, UBYTE *, int, int, int, int, int);
  38.  void ChunkyNormal(UBYTE *, UBYTE *, int, int, int, int, int);
  39.  void ChunkyFastFull(UBYTE *, UBYTE *, struct Soff *, struct Soff *, int, struct Soff *, int);
  40.  void ChunkyFastestFull(UBYTE *, UBYTE *, struct Soff *, struct Soff *, int, struct Soff *, int);
  41.  void ChunkyNormalFull(UBYTE *, UBYTE *, struct Soff *, struct Soff *, int, struct Soff *, int);
  42.  void c2p_1(UBYTE *, struct BitMap *, int, int);
  43.  void c2p_2(UBYTE *, UBYTE *, UBYTE *, int);
  44.  void c2p_3(void *, void *, int , int , struct Soff * , int , int);
  45.  void c2p_4(UBYTE *,UBYTE *, UBYTE *, struct Soff *,struct Soff *, struct Soff *);
  46.  void ChunkyNoffFastHT(UBYTE *,UBYTE *,int,int,int,int);
  47.  void ChunkyNoffFastestHT(UBYTE *,UBYTE *,int,int,int,int);
  48.  void ChunkyNoffNormalHT(UBYTE *,UBYTE *,int,int,int,int);
  49.  void ChunkyFastHT(UBYTE *,UBYTE *,struct Soff *,int,int,int,int);
  50.  void ChunkyFastestHT(UBYTE *,UBYTE *,struct Soff *,int,int,int,int);
  51.  void ChunkyNormalHT(UBYTE *,UBYTE *,struct Soff *,int,int,int,int);
  52.  void ChunkyFastFullHT(UBYTE *,UBYTE *,struct Soff *,struct Soff *,struct Soff *,struct Soff *,int);
  53.  void ChunkyFastestFullHT(UBYTE *,UBYTE *,struct Soff *,struct Soff *,struct Soff *, struct Soff *, int);
  54.  void ChunkyNormalFullHT(UBYTE *,UBYTE *,struct Soff *,struct Soff *,struct Soff *,struct Soff *, int);
  55.  void ChunkyNoffMask(struct Buffers *,UBYTE *,int,int,int,int);
  56.  void ChunkyMask(struct Buffers *,UBYTE *,struct Soff *,int,int,int,int);
  57.  void ChunkyMaskFull(struct Buffers *,UBYTE *,struct Soff *, struct Soff *,struct Soff *,struct Soff *, int);
  58.  void c2p_HI( UBYTE *, int, UBYTE *, UBYTE *, UBYTE *, UBYTE *, UBYTE *);
  59.  
  60. #endif
  61.  
  62.  
  63.